import App from './App'


import Vue from 'vue'
import './uni.promisify.adaptor'
import uView from '@/uni_modules/uview-ui'
import zdyTabbar from "./components/zdy-tabbar.vue"
import ToolClass from './public/ToolClass.js'
import UserModel from './public/UserModel.js'
Vue.use(uView)
Vue.component('zdy-tabbar', zdyTabbar)
Vue.config.productionTip = false
App.mpType = 'app'
const app = new Vue({
	...App
})
Vue.prototype.ToolClass = ToolClass
Vue.prototype.UserModel1 = UserModel
// 引入请求封装，将app参数传递到配置中
require('./public/request.js')(app)
app.$mount()